package movieGandalf.search;


public class GenreIDParam implements SearchParam{

	private Integer genreID;
	
	public GenreIDParam(Integer genreID){
		this.genreID = genreID;
	}
	
	public String getParam() {
		return "MovieGenres.genreID=?";
	}
	
	public String getJoin(){
		return "INNER JOIN MovieGenres ON MoviesWithData.movieID = MovieGenres.movieID";
	}

	public Object getValue() {
		return genreID;
	}
	
	public boolean isParamOnJoin(){
		return false;
	}
	
}
